#include <QtGui/QApplication>
#include <QCoreApplication>
#include "qmlapplicationviewer.h"

#include "applicationlogic.h"

Q_DECL_EXPORT int main(int argc, char *argv[])
{
    QScopedPointer<QApplication> app(createApplication(argc, argv));

    QCoreApplication::setOrganizationName("Juhapekka Piiroinen");
    QCoreApplication::setOrganizationDomain("jpii.fi");
    QCoreApplication::setApplicationName("AuthenticatorN9");

    ApplicationLogic appLogic;

    int retval = app->exec();

    appLogic.deleteLater();

    return retval;
}
